package com.zhanghe.study.demo.es.model;

/**
 * @author zh
 * @date 2022/4/6 18:31
 */
public class AdCampaign {
    private long id;
    private String name;
    private long start_time;
    private long end_time;
    private int frequency;
    private int frequency_interval_type;//频控时间段类型，0：整个周期 1:天 2:自然周 3:自然月 4: 投放周 5:投放月
    private int priority;
    private String location_package_list;
    private int track_frequency; // 1, filt track out of frequecy
    private int allow_over;// 1: allow over total budget 0: not
    private int creative_mode;//创意变化模式，0：默认，随机创意 1:按照比例分配  2:创意轮播

    private Integer ad_brand_id;//品牌
    private long ad_owner_id;
    private int device_min_size;//定向尺寸
    private int device_max_size; //定向尺寸
    private int ta_optimize; //ta优化


    //adx的投放id
    private long adx_camp_id;
    private String ad_creative_list;

    //    private String supplier_list;
//    private String ad_plot_list;

    private String time_slots;

    private int frequency_interval;
    private String locations;

    private long budget;
    private int platformType;


    private int filter_rtbasia; //过滤rtbasia指标 0否 ，1是



    private long ad_plan_id; //智能分配id

    private int append_type; // 追投类型

    private String append_camps; // 追投范围

    // 选择了TA优化才可以选择目标人群提供方，选择了目标人群提供方才可以选择目标人群id集合，目标人群只能选择该提供方下的
    // 目标人群提供方
    private int target_group_provider;
    // 目标人群id
//    private int target_group_id;
    // 目标人群id集合
    private String target_group_ids;
    // 目标人群规则  TargetGroupRuleEnum
    private int target_group_rule;

    // 支持中点监测
    private int support_mid_monitor;

    // 支持结束监测
    private int support_end_monitor;

    // 支持点击监测
    private int support_click_monitor;

    // 互斥品牌
    private String mutex_brands;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getStart_time() {
        return start_time;
    }

    public void setStart_time(long start_time) {
        this.start_time = start_time;
    }

    public long getEnd_time() {
        return end_time;
    }

    public void setEnd_time(long end_time) {
        this.end_time = end_time;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    public int getFrequency_interval_type() {
        return frequency_interval_type;
    }

    public void setFrequency_interval_type(int frequency_interval_type) {
        this.frequency_interval_type = frequency_interval_type;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public String getLocation_package_list() {
        return location_package_list;
    }

    public void setLocation_package_list(String location_package_list) {
        this.location_package_list = location_package_list;
    }

    public int getTrack_frequency() {
        return track_frequency;
    }

    public void setTrack_frequency(int track_frequency) {
        this.track_frequency = track_frequency;
    }

    public int getAllow_over() {
        return allow_over;
    }

    public void setAllow_over(int allow_over) {
        this.allow_over = allow_over;
    }

    public int getCreative_mode() {
        return creative_mode;
    }

    public void setCreative_mode(int creative_mode) {
        this.creative_mode = creative_mode;
    }

    public Integer getAd_brand_id() {
        return ad_brand_id;
    }

    public void setAd_brand_id(Integer ad_brand_id) {
        this.ad_brand_id = ad_brand_id;
    }

    public long getAd_owner_id() {
        return ad_owner_id;
    }

    public void setAd_owner_id(long ad_owner_id) {
        this.ad_owner_id = ad_owner_id;
    }

    public int getDevice_min_size() {
        return device_min_size;
    }

    public void setDevice_min_size(int device_min_size) {
        this.device_min_size = device_min_size;
    }

    public int getDevice_max_size() {
        return device_max_size;
    }

    public void setDevice_max_size(int device_max_size) {
        this.device_max_size = device_max_size;
    }

    public int getTa_optimize() {
        return ta_optimize;
    }

    public void setTa_optimize(int ta_optimize) {
        this.ta_optimize = ta_optimize;
    }

    public long getAdx_camp_id() {
        return adx_camp_id;
    }

    public void setAdx_camp_id(long adx_camp_id) {
        this.adx_camp_id = adx_camp_id;
    }

    public String getAd_creative_list() {
        return ad_creative_list;
    }

    public void setAd_creative_list(String ad_creative_list) {
        this.ad_creative_list = ad_creative_list;
    }

    public String getTime_slots() {
        return time_slots;
    }

    public void setTime_slots(String time_slots) {
        this.time_slots = time_slots;
    }

    public int getFrequency_interval() {
        return frequency_interval;
    }

    public void setFrequency_interval(int frequency_interval) {
        this.frequency_interval = frequency_interval;
    }

    public String getLocations() {
        return locations;
    }

    public void setLocations(String locations) {
        this.locations = locations;
    }

    public long getBudget() {
        return budget;
    }

    public void setBudget(long budget) {
        this.budget = budget;
    }

    public int getPlatformType() {
        return platformType;
    }

    public void setPlatformType(int platformType) {
        this.platformType = platformType;
    }

    public int getFilter_rtbasia() {
        return filter_rtbasia;
    }

    public void setFilter_rtbasia(int filter_rtbasia) {
        this.filter_rtbasia = filter_rtbasia;
    }

    public long getAd_plan_id() {
        return ad_plan_id;
    }

    public void setAd_plan_id(long ad_plan_id) {
        this.ad_plan_id = ad_plan_id;
    }

    public int getAppend_type() {
        return append_type;
    }

    public void setAppend_type(int append_type) {
        this.append_type = append_type;
    }

    public String getAppend_camps() {
        return append_camps;
    }

    public void setAppend_camps(String append_camps) {
        this.append_camps = append_camps;
    }

    public int getTarget_group_provider() {
        return target_group_provider;
    }

    public void setTarget_group_provider(int target_group_provider) {
        this.target_group_provider = target_group_provider;
    }

    public String getTarget_group_ids() {
        return target_group_ids;
    }

    public void setTarget_group_ids(String target_group_ids) {
        this.target_group_ids = target_group_ids;
    }

    public int getTarget_group_rule() {
        return target_group_rule;
    }

    public void setTarget_group_rule(int target_group_rule) {
        this.target_group_rule = target_group_rule;
    }

    public int getSupport_mid_monitor() {
        return support_mid_monitor;
    }

    public void setSupport_mid_monitor(int support_mid_monitor) {
        this.support_mid_monitor = support_mid_monitor;
    }

    public int getSupport_end_monitor() {
        return support_end_monitor;
    }

    public void setSupport_end_monitor(int support_end_monitor) {
        this.support_end_monitor = support_end_monitor;
    }

    public int getSupport_click_monitor() {
        return support_click_monitor;
    }

    public void setSupport_click_monitor(int support_click_monitor) {
        this.support_click_monitor = support_click_monitor;
    }

    public String getMutex_brands() {
        return mutex_brands;
    }

    public void setMutex_brands(String mutex_brands) {
        this.mutex_brands = mutex_brands;
    }
}
